<div class="row">
    <div class="six columns centered">
        <fieldset>

            <legend><?php echo $this->lang->line('form_welcome'); ?></legend>

            <?php
            echo form_open('login');

            echo form_label('Usuario', 'username');

            $username = array(
                'name' => 'username',
                'id' => 'username',
                'placeholder' => 'Usuario',
                'autofocus' => 'true'
            );
            echo form_input($username);

            echo form_label('Password', 'password');
            $password = array(
                'name' => 'password',
                'id' => 'password',
                //'type' => 'password',
                'placeholder' => 'Password'
            );
            echo form_input($password);

            $submit = array(
                'name' => 'submit',
                'id' => 'submit',
                'type' => 'submit',
                'value' => 'Entrar',
                'class' => 'secondary button'
            );
            echo form_submit($submit);
            echo form_close();
            /* echo form_label($this->lang->line('form_language'), 'language');

              $options = array(
              'es' => 'Español',
              'en' => 'English'
              );

              echo form_dropdown('lang', $options, $this->language); */
            echo validation_errors('<p class="alert label">');
            echo $error;
            ?>

        </fieldset>
    </div>
</div>